-- GENERATED SPELL FOR [Lashh'an Talonite] --


function spell0_19943(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(37685,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19943', 659, 1)
end

function spell1_19943(pUnit, Event) --@Lashh\'an Kaliri,Self--
pUnit:FullCastSpellOnTarget(34854,pUnit)
pUnit:RegisterEvent('Sorts_19943', 602, 1)
end

function Sorts_19943(pUnit, Event)
local choix_sorts_19943 = math.random(0, 1)
if choix_sorts_19943 == 0 then
pUnit:RegisterEvent('spell0_19943', 1, 1)
end
if choix_sorts_19943 == 1 then
pUnit:RegisterEvent('spell1_19943', 1, 1)
end
end

function mob19943_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19943', math.random(1500, 3000), 1)
end

function mob19943_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19943_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19943_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19943, 1, 'mob19943_Action')
RegisterUnitEvent(19943, 2, 'mob19943_Leave')
RegisterUnitEvent(19943, 3, 'mob19943_Kill')
RegisterUnitEvent(19943, 4, 'mob19943_Die')
